package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;

import java.io.Serializable;
import java.util.Collection;

public interface TrService<T> extends IService<T> {

    /**
     * 批量逻辑删除 
     * 字段必须有 update_id 和update_time
     * @param userId 用户ID
     * @param idList id集合
     * @return 操作结果
     */
    boolean removeByIds(Long userId , Collection<? extends Serializable> idList);

}
